﻿@{
    Layout = null;
    string docClsCd = ViewData["docClsCd"] == null ? "" : ViewData["docClsCd"].ToString();
    string FDeptNo = ViewData["FDeptNo"] == null ? "" : ViewData["FDeptNo"].ToString();
    string deptName = ViewData["FDeptName"] == null ? "" : ViewData["FDeptName"].ToString();
    string docClsName = ViewData["docClsName"] == null ? "科室导航" : ViewData["docClsName"].ToString();
    string logUrl = string.IsNullOrEmpty(ViewData["logUrl"].ToString()) ? Url.Content("~/Content/template/top01.jpg") : Url.Content(ViewData["logUrl"].ToString());
}
@using ElingOA6_DSJCJ.Models;
@using Webdiyer.WebControls.Mvc
@model PagedList<ElingOA6_DSJCJ.Models.DocumentGridModel>
      
@{
    Dictionary<string, string> dicDocClsNameList = ViewData["dicDocClsNameList"] == null ? new Dictionary<string, string>() : ViewData["dicDocClsNameList"] as Dictionary<string, string>;
   
}

@helper  GetConfigShowText(string keyName, Dictionary<string, string> dicDocClsNameList)
    {
        if (dicDocClsNameList.ContainsKey(keyName))
        {
    @:@dicDocClsNameList[keyName]
       }
    }
<!DOCTYPE html>

<html>
<head>
 <meta http-equiv="X-UA-Compatible" content="IE=7" />
    <title>@ElingOA6_DSJCJ.Common.GlobalConstant.CONSTRING_SYSTITLE</title>
      <link href="@Url.Content("~/Content/1.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery.min.js")" type="text/javascript"></script>
</head>
<body>
    
<div class="wrap">

<div class="header">
           @if (ViewData["fmode"].ToString() == "F")
     { 
       <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="1000"
        height="145">
        <param name="_cx" value="26458">
        <param name="_cy" value="3836">
        <param name="FlashVars" value="">
        <param name="Movie" value="@logUrl)">
        <param name="Src" value="@logUrl">
        <param name="WMode" value="Opaque">
        <param name="Play" value="-1">
        <param name="Loop" value="-1">
        <param name="Quality" value="High">
        <param name="SAlign" value="">
        <param name="Menu" value="-1">
        <param name="Base" value="">
        <param name="AllowScriptAccess" value="">
        <param name="Scale" value="ShowAll">
        <param name="DeviceFont" value="0">
        <param name="EmbedMovie" value="0">
        <param name="BGColor" value="">
        <param name="SWRemote" value="">
        <param name="MovieData" value="">
        <param name="SeamlessTabbing" value="1">
        <param name="Profile" value="0">
        <param name="ProfileAddress" value="">
        <param name="ProfilePort" value="0">
        <param name="AllowNetworking" value="all">
        <param name="AllowFullScreen" value="false">
        <param name="AllowFullScreenInteractive" value="false">
        <param name="IsDependent" value="0">
        <param name="movie" value="@logUrl">
        <param name="quality" value="high">
        <param name="wmode" value="opaque">
        <param name="swfversion" value="11.0.0.0">
        <!-- 此 param 标签提示使用 Flash Player 6.0 r65 和更高版本的用户下载最新版本的 Flash Player。如果您不想让用户看到该提示，请将其删除。 -->
        <param name="expressinstall" value="../Scripts/expressInstall.swf">
        <!-- 下一个对象标签用于非 IE 浏览器。所以使用 IECC 将其从 IE 隐藏。 -->
         <!--[if !IE]>-->
	    <object type="application/x-shockwave-flash" data="@logUrl" width="1000" height="145">
	      <!--<![endif]-->

        <param name="quality" value="high">
        <param name="wmode" value="opaque">
        <param name="swfversion" value="11.0.0.0">
        <param name="expressinstall" value="../Scripts/expressInstall.swf">
        <!-- 浏览器将以下替代内容显示给使用 Flash Player 6.0 和更低版本的用户。 -->
        <div>
            <h4>
                此页面上的内容需要较新版本的 Adobe Flash Player。</h4>
            <p>
                <a href="http://www.adobe.com/go/getflashplayer">
                    <img alt="获取 Adobe Flash Player" src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"
                        width="112" height="33"></a></p>
        </div>
    </object> </object>
     }
     else
     { 
	  <div style="width:1000px;height:148px;">

      <img  style=" width:1000px; height:148px;position:absolute;z-index:-10;" src="@logUrl" >
    
      <div class="header-img3" style=" width:1000px; height:148px ;">
    	<div class="header-logo"><span><img src="@Url.Content("~/Content/template/logo.gif")"></span><span class="header-name">宁波市地方税务局稽查局</span><span class="header-title">@deptName</span>
        
	   </div>
        </div>
    </div>
     }
    
    <div class="nav">
    <ul>
            <li><a href="@Url.Content("~/SubOffice/Template?FDeptNo=" + @ViewData["FDeptNo"])">首页</a></li>
        @if (dicDocClsNameList.Count > 0)
        {
             foreach (KeyValuePair<string, string> dicDocClsNameModel in dicDocClsNameList)
             {
                 
             <li><a href="@Url.Content("~/SubOffice/TemplateList?clsCd=" + @dicDocClsNameModel.Key + "&FDeptNo="+ @FDeptNo)">@dicDocClsNameModel.Value</a></li>
             }
        }
           
          
        </ul>
        <div class="return"><a href="@Url.Action("Index","Index")">返回局首页</a></div>
    </div>
    
</div>

<div class="main">
	
    <div class="content" style=" width:1000px; margin-bottom:10px;">
    	
        <div class="list_left">
    	<div class="list_left_t template1">科室导航</div>
        <div class="list_left_c2">
      <div class="padding-menu">
        @Html.Raw(ViewData["docClsHtml"].ToString())
       </div>
    </div>
 </div>
 
<div class="list_content">
    	<div class="lc_t"><h3>@docClsName</h3><span><a href="@Url.Action("Index","Index")">首页</a> &gt; <a href="#">@docClsName</a></span></div>
        <ul class="lc_c">
         @foreach (DocumentGridModel documentModel in Model as List<DocumentGridModel>)
        { 
             <li><a href="@Url.Content("~/SubOffice/TemplatelistDetail?docId=" + @documentModel.FDocId+"&FDeptNo="+ @FDeptNo)" target="_blank" title="@documentModel.FTitle">@documentModel.FTitle</a><span>@documentModel.FPubDate.ToString("yyyy-MM-dd")</span></li>
           
        }
        </ul>
         <div class="manu">
      
                            @Html.Pager(Model, new PagerOptions { ContainerTagName = "span", PageIndexParameterName = "id", AlwaysShowFirstLastPageNumber = true, HorizontalAlign = "right", FirstPageText = "首页", LastPageText = "末页" }, new { style = "Width:99%;float: left;" })
    <br />
    <span style="float: right; width: 40%;">共 @Model.TotalItemCount 条记录，页 @Model.CurrentPageIndex/@Model.TotalPageCount</span>
    </div>
 </div>
    <div class="clear"></div>
        
    </div>
    
</div>


<div class="bottom">
	<div class=" bottom-nav"><a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage(window.location.href);">设为首页</a><a href="#" onclick="window.external.AddFavorite(location.href, document.title)";>加入收藏</a><a href="@Url.Content("~/ElingOA6_Admin_DSJCJ")">后台登陆</a></div>
    <div class="copyright">
    	@Html.Raw(ViewData["CopyRight"].ToString())
    </div>
</div>
    </div>
</body>
</html>
